import Ajax from './Ajax'


export  function  menuListApi (){
    return  Ajax({
        url:'/menu/list'
    })
}


export  function roleListApi(myRole){
             return  Ajax({
                url:'/role/list/byids',
                params:{ids:myRole}
             })
}  

/* export{
    menuListApi
} */


export   const  collectApi = ()=>{
    return  Ajax({
        url:'/analysis/collection'
    })
}


/**
 *   获取用户列表
 * @param {Object} params    get请求
 * @returns 
 */
export  const   userListApi = (params)=>{
    return  Ajax({
        url:'/user/list',
       params
    })
}